/**
 * Popover 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/popover/style';

export const popoverThemeConfig: Partial<ComponentToken> = {
  titleMinWidth: 177,
  zIndexPopup: 1030,
};

export const getPopoverTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...popoverThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as PopoverComponentToken } from 'antd/es/popover/style';

